
public class Capra extends Ierbivore{
	int nr_iezi;
	int cant_lapte;
	int greutate;
	
	public Capra() {
		super();
	}
	
	public Capra(int varsta, String rasa, int viteza, int nr_iezi, int cant_lapte, int greutate) {
		super(varsta, rasa, viteza);
		this.cant_lapte=cant_lapte;
		this.nr_iezi=nr_iezi;
		this.greutate=greutate;
	}
	
	public int getNr_iezi() {
		return nr_iezi;
	}
	public void setNr_iezi(int nr_iezi) {
		this.nr_iezi = nr_iezi;
	}
	public int getCant_lapte() {
		return cant_lapte;
	}
	public void setCant_lapte(int cant_lapte) {
		this.cant_lapte = cant_lapte;
	}
	public int getGreutate() {
		return greutate;
	}
	public void setGreutate(int greutate) {
		this.greutate = greutate;
	}
	
	
	
}
